@import "./font/iconFont.css";

//global
body {
  font-size: 14px;
  color: #333;
  font-family: "Microsoft YaHei";
}

#app {
  background: #f2f2f2;
}

.innerPane {
  margin: 10px 0 10px 0;
  padding: 10px 30px 20px;
  background: #fff;

  .tabs {
    margin: 0 -30px;
  }

  .el-tabs__nav-wrap {
    padding-left: 30px;
  }

  .filterArea {
    .opt {
      display: inline-flex;
      align-items: center; // 垂直居中
    vertical-align: middle; 
      margin-bottom: 10px;
    }
  }

  .pagination {
    margin-top: 10px;
    justify-content: flex-end;
  }
}

.innerPane.schoolAdmin {
  padding-top: 10px;
}

.header {
  height: 50px;
  line-height: 50px;
  background: rgb(0 87 128);
  /*#0089ff;*/
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
  font-size: 24px;
  z-index: 5;
  min-width: 1024px;

  .logoWrap {
    position: absolute;
    left: 20px;
    top: 0;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;

    i {
      margin-right: 8px;
      font-size: 26px;
    }
  }

  .expand {
    position: absolute;
    right: 20px;
    top: 12px;

    .userName {
      cursor: pointer;

      i {
        margin-right: 8px;
        font-size: 24px;
      }

      font-size: 16px;
      color: #fff;
    }
  }
}

//element-plus normalize
ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.el-table thead {
  color: #606266;
}

.el-table th.el-table__cell {
  background: #eaf3fd;
}

.el-table .cell {
  // color: #333;
  padding: 0 8px;
}

.select {
  flex: 1;
}

.el-tabs__nav-wrap::after {
  height: 1px;
}

.el-popper,
.el-tooltip__trigger {

  &:focus,
  &:hover {
    outline: none;
    box-shadow: none;
  }
}

.el-button {
  outline: none !important;

  &:focus {
    background: #fff;
    border-color: #dcdfe6;
    color: #606266;
  }

  &:hover {
    background: #ecf5ff;
    color: #409eff;
  }
}

.el-button--primary {
  &:focus {
    background: #409eff;
    color: #fff;
  }

  &:hover {
    background: #0089ff;
    color: #fff;
  }

  &.is-plain {
    &:focus {
      background: #ecf5ff;
      color: #409eff;
      border-color: #a0cfff;
    }

    &:hover {
      background: #409eff;
      color: #fff;
    }
  }
}

.el-link.is-disabled {
  color: #c0c4cc;
}

.el-dialog__title {
  font-size: 16px;
  font-weight: bold;
}

/* .editRole 编辑角色管理弹框 */
.el-dialog.editRole .el-dialog__header {
  padding-top: 14px;
}

.el-dialog.editRole .el-dialog__body {
  padding: 10px 15px;
}

.el-empty {
  padding: 0;
}

.el-form--inline .el-form-item {
  margin-bottom: 20px;
}

a {
  text-decoration: none;
}

.el-collapse .el-collapse-item__content {
  padding-bottom: 0;
}

.el-collapse-item__arrow {
  font-size: 16px;
  margin: 0 8px 0 10px;
}

.hidden {
  display: none;
}

.el-input__wrapper {

  &:focus,
  &:hover {
    outline: none;
  }
}

/* 首页  */
body {
  --themeColor: #0089ff;
  --themeBg: #f2f2f2;
  --themeGrey: #eee;
}

.main-color {
  color: var(--themeColor);
}

.innerPane .home-tabs .el-tabs__nav-wrap {
  padding-left: 0;
}

.home-tabs .active .el-radio-button__inner {
  color: #fff;
  /* background-color: var(--themeColor); */
}

/* .home-tabs.el-tabs--top .el-tabs__item.is-top:nth-child(2){
  padding-left:20px;
}
.home-tabs.el-tabs--top .el-tabs__item.is-top:last-child{
  padding-right:20px;
} */
/* 之前公共样式 */
.home-tabs .el-tabs__header {
  text-align: center;
  margin: 5px 0;
  background-color: #fff;
  padding-bottom: 5px;
}

.home-tabs .el-tabs__item {
  padding: 6px 30px !important;
}

.home-tabs .el-tabs__item.active {
  color: #fff;
  background-color: var(--themeColor);
  border: 1px solid var(--themeColor);
  border-radius: 5%;
}

.right .top {
  z-index: 100;
  position: relative;
}

.right .top.top-special {
  display: inline-block;
}

.right .top .title {
  margin: 10px 20px;
  padding: 5px 10px;
  border-left: 5px solid #0089ff;
}

.right .top .right-btns {
  position: absolute;
  top: 0;
  right: 50px;
}

.right .right-main {
  padding: 15px;
}

.right .right-main .main-part {
  position: relative;
  padding: 15px 15px 50px;
  background-color: #fff;
}

.special .el-progress-bar__outer {
  background-color: #f59a23;
}

.special .el-progress-bar__inner {
  background-color: var(--themeColor);
}

.main-part .el-tab-pane {
  position: relative;
}

/* 之前公共样式结束 */

// 弹框
.el-dialog__headerbtn {
  top: 0;
}

.el-dialog__body {
  padding: 15px 25px;
  border-top: 1px solid var(--themeGrey);
}

.alert {
  padding: 4px 8px;
  margin-top: 10px;
  border: 1px solid var(--themeColor);
  border-radius: 6px;
  background-color: #d8ebfc;
}

.alert * {
  color: var(--themeColor) !important;
}

.alert i {
  font-size: 18px;
  margin-right: 4px;
}